/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.sh.ndt.exam.entity;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author Prashanth
 */
public class TestHistory implements Serializable{
      private long testHistoryId = 0;
      private long userId = 0;
      private long testId = 0;
      private String testName;
      private int result = 0;
      private Date testDate = null;
      private double percentageSecured = 0.0;

    /**
     * @return the testHistoryId
     */
    public long getTestHistoryId() {
        return testHistoryId;
    }

    /**
     * @param testHistoryId the testHistoryId to set
     */
    public void setTestHistoryId(long testHistoryId) {
        this.testHistoryId = testHistoryId;
    }

    /**
     * @return the userId
     */
    public long getUserId() {
        return userId;
    }

    /**
     * @param userId the userId to set
     */
    public void setUserId(long userId) {
        this.userId = userId;
    }

    /**
     * @return the testId
     */
    public long getTestId() {
        return testId;
    }

    /**
     * @param testId the testId to set
     */
    public void setTestId(long testId) {
        this.testId = testId;
    }

    /**
     * @return the result
     */
    public int getResult() {
        return result;
    }

    /**
     * @param result the result to set
     */
    public void setResult(int result) {
        this.result = result;
    }

    /**
     * @return the testDate
     */
    public Date getTestDate() {
        return testDate;
    }

    /**
     * @param testDate the testDate to set
     */
    public void setTestDate(Date testDate) {
        this.testDate = testDate;
    }

    /**
     * @return the testName
     */
    public String getTestName() {
        return testName;
    }

    /**
     * @param testName the testName to set
     */
    public void setTestName(String testName) {
        this.testName = testName;
    }

    /**
     * @return the percentageSecured
     */
    public double getPercentageSecured() {
        return percentageSecured;
    }

    /**
     * @param percentageSecured the percentageSecured to set
     */
    public void setPercentageSecured(double percentageSecured) {
        this.percentageSecured = percentageSecured;
    }

}
